package com.woniuxy.user;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * <p>Title: application</p>
 * <p>Description: </p>
 *
 * @author 王敞   365799712@qq.com
 * @date 2020年7月15日
 */
@SpringBootApplication
@EnableEurekaClient
@MapperScan(basePackages = "com.woniuxy.user.mapper")
@EnableFeignClients(basePackages = "com.woniuxy.commons.service")
@ComponentScan({
        "com.woniuxy.commons.factory",
        "com.woniuxy.user",
})
public class UserApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class, args);
    }
}
